package cn.b.sky.flowable.enums;

import java.util.ArrayList;
import java.util.List;

public enum FlowNodeUserEnum {
  
  ASSIGNEE("assignee"),

  CANDIDATEUSERS("candidateUsers"),

  CANDIDATEGROUPS("candidateGroups");

  private String code;

  private FlowNodeUserEnum(String code) {
    this.code = code;
  }

  public String getCode() {
    return code;
  }
  
  public static List<String> getValues(){
    List<String> types = new ArrayList<>();
    for(FlowNodeUserEnum nodeUserType: FlowNodeUserEnum.values()){
      types.add(nodeUserType.getCode());
    }
    return types;
  }
}
